"""
打印数字三角形
"""


for a in range(1,6):
    for b in range(1,a + 1):
        print(b,end=" ")
    print()